package com.ucs.domain;

import java.math.BigDecimal;

public class Item {
	private int itemID=0;
	private int categoryID=0;
	private int sequenceNum=0;
	private String code="";
	private String name1="";
	private String name2="";
	private BigDecimal price=new BigDecimal(0);
	private BigDecimal tax=new BigDecimal(0);	
	private boolean changeable=false;
	private String fontColor="- 16777216";
	private String backColor="- 1";
	private int noDiscount=0;
	private int count=0;
	public void setItemID(int itemID) {
		this.itemID = itemID;
	}
	public int getItemID() {
		return itemID;
	}
	public void setCategoryID(int categoryID) {
		this.categoryID = categoryID;
	}
	public int getCategoryID() {
		return categoryID;
	}
	public void setSequenceNum(int sequenceNum) {
		this.sequenceNum = sequenceNum;
	}
	public int getSequenceNum() {
		return sequenceNum;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getCode() {
		return code;
	}
	public void setName1(String name1) {
		this.name1 = name1;
	}
	public String getName1() {
		return name1;
	}
	public void setName2(String name2) {
		this.name2 = name2;
	}
	public String getName2() {
		return name2;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setTax(BigDecimal tax) {
		this.tax = tax;
	}
	public BigDecimal getTax() {
		return tax;
	}
	public void setChangeable(boolean changeable) {
		this.changeable = changeable;
	}
	public boolean isChangeable() {
		return changeable;
	}
	public void setFontColor(String fontColor) {
		this.fontColor = fontColor;
	}
	public String getFontColor() {
		return fontColor;
	}
	public void setBackColor(String backColor) {
		this.backColor = backColor;
	}
	public String getBackColor() {
		return backColor;
	}
	public void setNoDiscount(int noDiscount) {
		this.noDiscount = noDiscount;
	}
	public int getNoDiscount() {
		return noDiscount;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public int getCount() {
		return count;
	}
//	
//	@SuppressWarnings("unchecked")
//	public static void main(String[] args) throws Exception{
//		InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream("SqlMapConfig_food.xml");
//		SqlMapClient sqlMapClient = SqlMapClientBuilder.buildSqlMapClient(is);
//		
//		List l = sqlMapClient.queryForList("selectActiveItem");
//		System.out.println(RestUtil.toXML(l));
//	}
}
